latent dynamics